<persistence xmlns="http://java.sun.com/xml/ns/persistence"
	 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
     version="1.0"
>
  <persistence-unit name="activiti-jpa-pu">
    <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider>
    
    <class>org.camunda.bpm.engine.test.standalone.jpa.FieldAccessJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.PropertyAccessJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.SubclassFieldAccessJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.SubclassPropertyAccessJPAEntity</class>
    <!-- Mapped superclasses -->
    <class>org.camunda.bpm.engine.test.standalone.jpa.MappedSuperClassFieldAccessJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.MappedSuperClassPropertyAccessJPAEntity</class>
    
    <!-- Variable types -->
    <class>org.camunda.bpm.engine.test.standalone.jpa.ByteIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.ShortIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.IntegerIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.LongIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.FloatIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.DoubleIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.CharIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.StringIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.DateIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.SQLDateIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.BigIntegerIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.BigDecimalIdJPAEntity</class>
    
    <!-- Exceptional entities -->
    <class>org.camunda.bpm.engine.test.standalone.jpa.CompoundIdJPAEntity</class>
    <class>org.camunda.bpm.engine.test.standalone.jpa.EmbeddableCompoundId</class>
    
    <exclude-unlisted-classes>true</exclude-unlisted-classes>
    <properties>
      <property name="openjpa.ConnectionURL" value="jdbc:h2:mem:activiti-jpa;DB_CLOSE_DELAY=1000"/>
      <property name="openjpa.ConnectionDriverName" value="org.h2.Driver"/>
      <property name="openjpa.ConnectionUserName" value="sa"/>
      <property name="openjpa.ConnectionPassword" value=""/>
      <property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO"/>
      <property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema(SchemaAction='add,deleteTableContents')"/>
      <property name="openjpa.RuntimeUnenhancedClasses" value="supported" />
    </properties>
  </persistence-unit>
</persistence>